package com.xmg.shop.service.impl;

import com.xmg.shop.domain.Brand;
import com.xmg.shop.mapper.BrandMapper;
import com.xmg.shop.service.IBrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/8/11.
 */
@Service("brandService")
public class BrandServiceImpl implements IBrandService{
    @Autowired
    private BrandMapper brandMapper;
    @Override
    public List<Brand> brandList() {
        return brandMapper.selectAll();
    }
}
